package nonre.sgy.gencode.gen.step3;

import java.io.File;

import nonre.sgy.gencode.GenConfig;
import nonre.sgy.gencode.model.Html;


public class VMToHtml {

	public static void gen(){
		
		
		File entityDir = new File(GenConfig.genPath+"/entity");
		File[] fileArray=entityDir.listFiles(new java.io.FileFilter() {
	        public boolean accept(File pathname) {
	            return pathname.getName().endsWith("java");
	          }
	        });
		
		for (int i = 0; i < fileArray.length; i++) {
			System.out.println(fileArray[i].getName());
			File entityfile=fileArray[i];
			
			Html.gen(entityfile);
			//TODO 正在开发中
		}
	}
	
	public static void main(String[] args) {
		gen();
	}
}
